﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KhachSan.Process.Private.Bo.Class
{
    public class GiaPhong
    {
        private string maGia;
        private HangPhong hangPhong;
        private string dienGiai;
        private string tuNgay;
        private string denNgay;
        private int gia1Khach;
        private int gia2Khach;
        private int gia3Khach;
        private int gia4Khach;
        private int giaThemNguoiLon;
        private int giaThemTreEm;

        public string MaGia
        {
            get { return maGia; }
            set { maGia = value; }
        }
        public string DienGiai
        {
            get { return dienGiai; }
            set { dienGiai = value; }
        }
        public string TuNgay
        {
            get { return tuNgay; }
            set { tuNgay = value; }
        }
        public string DenNgay
        {
            get { return denNgay; }
            set { denNgay = value; }
        }
        public int Gia1Khach
        {
            get { return gia1Khach; }
            set { gia1Khach = value; }
        }
        public int Gia2Khach
        {
            get { return gia2Khach; }
            set { gia2Khach = value; }
        }
        public int Gia3Khach
        {
            get { return gia3Khach; }
            set { gia3Khach = value; }
        }
        public int Gia4Khach
        {
            get { return gia4Khach; }
            set { gia4Khach = value; }
        }
        public int GiaThemNguoiLon
        {
            get { return giaThemNguoiLon; }
            set { giaThemNguoiLon = value; }
        }
        public int GiaThemTreEm
        {
            get { return giaThemTreEm; }
            set { giaThemTreEm = value; }
        }
        public HangPhong HangPhong
        {
            get{return hangPhong;}
            set{hangPhong = value;}
        }
        public GiaPhong()
        {
            hangPhong = new HangPhong();
        }
        public GiaPhong(string maGia, string dienGiai, string tuNgay, string denNgay, int gia1Khach, int gia2Khach, int gia3Khach, int gia4Khach, int giaThemNguoiLon, int giaThemTreEm, string maLoaiPhong, string loaiPH, string maKP, string dienGiaiKP, string maHangPhong)
        {
            this.maGia= maGia;
            this.dienGiai= dienGiai;
            this.tuNgay= tuNgay;
            this.denNgay= denNgay;
            this.gia1Khach=gia1Khach;
            this.gia2Khach= gia2Khach;
            this.gia3Khach= gia3Khach;
            this.gia4Khach= gia4Khach;
            this.giaThemNguoiLon = giaThemNguoiLon;
            this.giaThemTreEm= giaThemTreEm;
            hangPhong = new HangPhong( maLoaiPhong,  loaiPH,  maKP,  dienGiaiKP, maHangPhong);
        }
    }
}
